package com.wyzz.hr.dao.impl;

import com.wyzz.hr.dao.IEmailtemplateDAO;
import com.wyzz.hr.hibernate.impl.HibernateUtil;
import com.wyzz.hr.pojo.Emailtemplate;

import org.springframework.orm.hibernate3.HibernateTemplate;

public class EmailtemplateDAOImpl extends HibernateUtil implements
		IEmailtemplateDAO {

	public EmailtemplateDAOImpl() {
	}

	public Emailtemplate loadOne(String oneId) {
		return (Emailtemplate) getHibernateTemplate().get(
				com.wyzz.hr.pojo.Emailtemplate.class, oneId);
	}
}
